package view

import (
	"vrcm/src/vrcm/common/models"
)

type ViewFit struct {
	models.Model

	BindId       string `json:"bind_id" gorm:"type:varchar(255);comment:BindId"`
	Name         string `json:"name" gorm:"type:varchar(255);comment:名称"`
	Introduction string `json:"introduction" gorm:"type:text;comment:简介"`
	TechSupport  string `json:"tech_support" gorm:"type:varchar(255);comment:技术支持"`
	BackUrl      string `json:"back_url" gorm:"type:varchar(255);comment:背景图片"`
	PlayLogo     string `json:"play_logo" gorm:"type:varchar(255);comment:播放页logo"`
	Logo         string `json:"logo" gorm:"type:varchar(255);comment:头像"`
	//CreateTime   string `json:"createTime" gorm:"type:int;comment:CreateTime"`
	FitType       int    `json:"fit_type" gorm:"type:tinyint;comment:装修类型 1国际直播 2全球直播"`
	IsDelete      string `json:"is_delete" gorm:"type:tinyint;comment:1 删除"`
	ViewPooleType int    `json:"view_poole_type" gorm:"type:tinyint;comment:1观看次数 2在线人数"`
	models.ModelTime
	models.ControlBy
}

func (ViewFit) TableName() string {
	return "view_fit"
}

func (e *ViewFit) Generate() models.ActiveRecord {
	o := *e
	return &o
}

func (e *ViewFit) GetId() interface{} {
	return e.Id
}
